Groups
Sign in
Groups
resource_controller
Conversations
About
Send feedback
Help
haml rjs r_c
2 views
Skip to first unread message
David Beckwith
unread,
Mar 22, 2009, 1:26:38 PM
3/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to resource_controller
Has anybody seen this one?
ActionView::MissingTemplate (Missing template show.rjs in view path
app/views):
#invitations_controller.rb
class InvitationsController < ResourceController::Base
create.wants.js { render :template => "show.rjs" }
end
#show.rjs
page.insert_html :bottom, :invited_list, "stuff"
Rendering template within layouts/application
Rendering show.rjs
ActionView::MissingTemplate (Missing template show.rjs in view path
app/views):
haml (2.0.9) lib/haml/helpers/action_view_mods.rb:14:in `render'
haml (2.0.9) lib/haml/helpers/action_view_mods.rb:14:in `render'
app/controllers/invitations_controller.rb:2
haml (2.0.9) lib/sass/plugin/rails.rb:19:in `process'
David Beckwith
unread,
Mar 22, 2009, 1:31:32 PM
3/22/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to resource_controller
This solved it:
create.wants.js { render :template => "/invitations/show.rjs" }
Sorry for the false alarm.
D :)
Reply all
Reply to author
Forward
0 new messages