Initial commit for links module

This commit is contained in:
Saurabh Bhatia committed 2014-05-05 16:20:37 +08:00
commit 70c99b941d
72 files changed
+976

No files matched your search

View File
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.
View File
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.
*/
View File
Whitespace-only changes.
View File
Whitespace-only changes.
@@ -0,0 +1,4 @@
class Admin::WebLinksController < ApplicationController
def index
end
end
View File
Whitespace-only changes.
+2
View File
@@ -0,0 +1,2 @@
module Admin::WebLinksHelper
end
View File
Whitespace-only changes.
View File
Whitespace-only changes.
+4
View File
@@ -0,0 +1,4 @@
class WebLink
include Mongoid::Document
field :title, type: String
end
View File
Whitespace-only changes.
+2
View File
@@ -0,0 +1,2 @@
<h1>Admin::WebLinks#index</h1>
<p>Find me in app/views/admin/web_links/index.html.erb</p>