I deleted the Index.html in my /public/ folder. I added a \"application\" folder in my views. In it I put a new index.html.erb. This I want to be my startpage/homepage.
I convert the Rails-2 application into Rails-3. In my Rails-2 routing i have the routes like the below
I\'ve created a custom RESTful action called \"post\". It appears in TransactionsController as a (public) method called post.
I\'m trying to create a button that performs some actions from my controller when clicked, but I\'m getting some routing errors.
I\'ve开发者_如何学Python got 2 applications running on my local machine. One sharepoint and another IIS application:
As we all know, a simple resources :meetings will generate 7 actions for me. Two of these are index and create. A really cool thing about these two!: The URL for both is /meetings, but when I GET /
Have a problem with creating route for my controller. I\'d like to organize controllers in directories and I put one controller into users directory. However I have no idea how to access it.
This question by Nick Craver implements routing to web forms like this: routes.MapPageRoute(\"defaultRoute\", \"{*value}\", \"~/Missing.aspx\");
I\'m going through the Rails getting started tutorial and I\'m having trouble with the routing part. I\'m at the part right after they have you delete public/index.html and change config/routes.rb. Wh
I’ve read the manual on URI routing and views and something is not clicking with me. In my views folder, I have a subfolder called products. In there is a file called product_view.In my controller,