added notification controller
This commit is contained in:
parent
bee2404fe3
commit
f277b249c2
|
@ -0,0 +1,4 @@
|
||||||
|
class NotificationsController < ApplicationController
|
||||||
|
def index
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,2 @@
|
||||||
|
module NotificationsHelper
|
||||||
|
end
|
|
@ -0,0 +1,2 @@
|
||||||
|
<h1>Notifications#index</h1>
|
||||||
|
<p>Find me in app/views/notifications/index.html.erb</p>
|
|
@ -1,5 +1,7 @@
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
|
|
||||||
|
get 'notifications/index'
|
||||||
|
|
||||||
root 'static#index'
|
root 'static#index'
|
||||||
|
|
||||||
match '/about', to: 'static#about', via: 'get'
|
match '/about', to: 'static#about', via: 'get'
|
||||||
|
|
Loading…
Reference in New Issue