Initial commit for links module
This commit is contained in:
commit
70c99b941d
72 files changed
+976
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,2 @@
|
||||
// Place all the behaviors and hooks related to the matching controller here.
|
||||
// All this logic will automatically be available in application.js.
|
||||
Whitespace-only changes.
@@ -0,0 +1,4 @@
|
||||
/*
|
||||
Place all the styles related to the matching controller here.
|
||||
They will automatically be included in application.css.
|
||||
*/
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,4 @@
|
||||
class Admin::WebLinksController < ApplicationController
|
||||
def index
|
||||
end
|
||||
end
|
||||
Whitespace-only changes.
@@ -0,0 +1,2 @@
|
||||
module Admin::WebLinksHelper
|
||||
end
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,4 @@
|
||||
class WebLink
|
||||
include Mongoid::Document
|
||||
field :title, type: String
|
||||
end
|
||||
Whitespace-only changes.
@@ -0,0 +1,2 @@
|
||||
<h1>Admin::WebLinks#index</h1>
|
||||
<p>Find me in app/views/admin/web_links/index.html.erb</p>
|
||||
Reference in new issue
Block a user